package com.crm.model.entity.sys;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ImportFailureLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ImportFailureLogExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andImportFailureLogIdIsNull() {
            addCriterion("import_failure_log_id is null");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdIsNotNull() {
            addCriterion("import_failure_log_id is not null");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdEqualTo(String value) {
            addCriterion("import_failure_log_id =", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdNotEqualTo(String value) {
            addCriterion("import_failure_log_id <>", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdGreaterThan(String value) {
            addCriterion("import_failure_log_id >", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdGreaterThanOrEqualTo(String value) {
            addCriterion("import_failure_log_id >=", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdLessThan(String value) {
            addCriterion("import_failure_log_id <", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdLessThanOrEqualTo(String value) {
            addCriterion("import_failure_log_id <=", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdLike(String value) {
            addCriterion("import_failure_log_id like", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdNotLike(String value) {
            addCriterion("import_failure_log_id not like", value, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdIn(List<String> values) {
            addCriterion("import_failure_log_id in", values, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdNotIn(List<String> values) {
            addCriterion("import_failure_log_id not in", values, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdBetween(String value1, String value2) {
            addCriterion("import_failure_log_id between", value1, value2, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andImportFailureLogIdNotBetween(String value1, String value2) {
            addCriterion("import_failure_log_id not between", value1, value2, "importFailureLogId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdIsNull() {
            addCriterion("operate_people_id is null");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdIsNotNull() {
            addCriterion("operate_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdEqualTo(String value) {
            addCriterion("operate_people_id =", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdNotEqualTo(String value) {
            addCriterion("operate_people_id <>", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdGreaterThan(String value) {
            addCriterion("operate_people_id >", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("operate_people_id >=", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdLessThan(String value) {
            addCriterion("operate_people_id <", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("operate_people_id <=", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdLike(String value) {
            addCriterion("operate_people_id like", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdNotLike(String value) {
            addCriterion("operate_people_id not like", value, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdIn(List<String> values) {
            addCriterion("operate_people_id in", values, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdNotIn(List<String> values) {
            addCriterion("operate_people_id not in", values, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdBetween(String value1, String value2) {
            addCriterion("operate_people_id between", value1, value2, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("operate_people_id not between", value1, value2, "operatePeopleId");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIsNull() {
            addCriterion("operate_time is null");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIsNotNull() {
            addCriterion("operate_time is not null");
            return (Criteria) this;
        }

        public Criteria andOperateTimeEqualTo(Date value) {
            addCriterion("operate_time =", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotEqualTo(Date value) {
            addCriterion("operate_time <>", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeGreaterThan(Date value) {
            addCriterion("operate_time >", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("operate_time >=", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeLessThan(Date value) {
            addCriterion("operate_time <", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeLessThanOrEqualTo(Date value) {
            addCriterion("operate_time <=", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIn(List<Date> values) {
            addCriterion("operate_time in", values, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotIn(List<Date> values) {
            addCriterion("operate_time not in", values, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeBetween(Date value1, Date value2) {
            addCriterion("operate_time between", value1, value2, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotBetween(Date value1, Date value2) {
            addCriterion("operate_time not between", value1, value2, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNull() {
            addCriterion("operate_type is null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNotNull() {
            addCriterion("operate_type is not null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeEqualTo(String value) {
            addCriterion("operate_type =", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotEqualTo(String value) {
            addCriterion("operate_type <>", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThan(String value) {
            addCriterion("operate_type >", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("operate_type >=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThan(String value) {
            addCriterion("operate_type <", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThanOrEqualTo(String value) {
            addCriterion("operate_type <=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLike(String value) {
            addCriterion("operate_type like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotLike(String value) {
            addCriterion("operate_type not like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIn(List<String> values) {
            addCriterion("operate_type in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotIn(List<String> values) {
            addCriterion("operate_type not in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeBetween(String value1, String value2) {
            addCriterion("operate_type between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotBetween(String value1, String value2) {
            addCriterion("operate_type not between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andImportNameIsNull() {
            addCriterion("import_name is null");
            return (Criteria) this;
        }

        public Criteria andImportNameIsNotNull() {
            addCriterion("import_name is not null");
            return (Criteria) this;
        }

        public Criteria andImportNameEqualTo(String value) {
            addCriterion("import_name =", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameNotEqualTo(String value) {
            addCriterion("import_name <>", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameGreaterThan(String value) {
            addCriterion("import_name >", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameGreaterThanOrEqualTo(String value) {
            addCriterion("import_name >=", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameLessThan(String value) {
            addCriterion("import_name <", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameLessThanOrEqualTo(String value) {
            addCriterion("import_name <=", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameLike(String value) {
            addCriterion("import_name like", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameNotLike(String value) {
            addCriterion("import_name not like", value, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameIn(List<String> values) {
            addCriterion("import_name in", values, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameNotIn(List<String> values) {
            addCriterion("import_name not in", values, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameBetween(String value1, String value2) {
            addCriterion("import_name between", value1, value2, "importName");
            return (Criteria) this;
        }

        public Criteria andImportNameNotBetween(String value1, String value2) {
            addCriterion("import_name not between", value1, value2, "importName");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureIsNull() {
            addCriterion("reason_for_failure is null");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureIsNotNull() {
            addCriterion("reason_for_failure is not null");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureEqualTo(String value) {
            addCriterion("reason_for_failure =", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureNotEqualTo(String value) {
            addCriterion("reason_for_failure <>", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureGreaterThan(String value) {
            addCriterion("reason_for_failure >", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureGreaterThanOrEqualTo(String value) {
            addCriterion("reason_for_failure >=", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureLessThan(String value) {
            addCriterion("reason_for_failure <", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureLessThanOrEqualTo(String value) {
            addCriterion("reason_for_failure <=", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureLike(String value) {
            addCriterion("reason_for_failure like", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureNotLike(String value) {
            addCriterion("reason_for_failure not like", value, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureIn(List<String> values) {
            addCriterion("reason_for_failure in", values, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureNotIn(List<String> values) {
            addCriterion("reason_for_failure not in", values, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureBetween(String value1, String value2) {
            addCriterion("reason_for_failure between", value1, value2, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andReasonForFailureNotBetween(String value1, String value2) {
            addCriterion("reason_for_failure not between", value1, value2, "reasonForFailure");
            return (Criteria) this;
        }

        public Criteria andLogTypeIsNull() {
            addCriterion("log_type is null");
            return (Criteria) this;
        }

        public Criteria andLogTypeIsNotNull() {
            addCriterion("log_type is not null");
            return (Criteria) this;
        }

        public Criteria andLogTypeEqualTo(String value) {
            addCriterion("log_type =", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotEqualTo(String value) {
            addCriterion("log_type <>", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeGreaterThan(String value) {
            addCriterion("log_type >", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeGreaterThanOrEqualTo(String value) {
            addCriterion("log_type >=", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLessThan(String value) {
            addCriterion("log_type <", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLessThanOrEqualTo(String value) {
            addCriterion("log_type <=", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLike(String value) {
            addCriterion("log_type like", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotLike(String value) {
            addCriterion("log_type not like", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeIn(List<String> values) {
            addCriterion("log_type in", values, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotIn(List<String> values) {
            addCriterion("log_type not in", values, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeBetween(String value1, String value2) {
            addCriterion("log_type between", value1, value2, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotBetween(String value1, String value2) {
            addCriterion("log_type not between", value1, value2, "logType");
            return (Criteria) this;
        }

        public Criteria andDataIdIsNull() {
            addCriterion("data_id is null");
            return (Criteria) this;
        }

        public Criteria andDataIdIsNotNull() {
            addCriterion("data_id is not null");
            return (Criteria) this;
        }

        public Criteria andDataIdEqualTo(String value) {
            addCriterion("data_id =", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotEqualTo(String value) {
            addCriterion("data_id <>", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThan(String value) {
            addCriterion("data_id >", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThanOrEqualTo(String value) {
            addCriterion("data_id >=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThan(String value) {
            addCriterion("data_id <", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThanOrEqualTo(String value) {
            addCriterion("data_id <=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLike(String value) {
            addCriterion("data_id like", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotLike(String value) {
            addCriterion("data_id not like", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdIn(List<String> values) {
            addCriterion("data_id in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotIn(List<String> values) {
            addCriterion("data_id not in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdBetween(String value1, String value2) {
            addCriterion("data_id between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotBetween(String value1, String value2) {
            addCriterion("data_id not between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(String value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(String value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(String value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(String value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(String value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLike(String value) {
            addCriterion("account_id like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotLike(String value) {
            addCriterion("account_id not like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<String> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<String> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(String value1, String value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(String value1, String value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andImportDataEqualTo(String value) {
            addCriterion("import_data =", value, "importData");
            return (Criteria) this;
        }

    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}